home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
demos
/
mastdemo.zoo
/
batch
/
array.bat
next >
Wrap
DOS Batch File
|
1990-03-22
|
365b
|
13 lines
rem Array-Test
a = 'test 3 c "WOW! everything is ok"'
set b a
set c ,
set test 1
rem The following vars are set:
set
rem And now --- THE TEST !
rem rem \$a[\${\$b[:]}[\${\$a[0]}[\$c]]]
# if you can reproduce this without looking at the source, than you have
# understood the most complex features of variable substitution
rem $a[${$b[:]}[${$a[0]}[$c]]]